<?php

namespace app\api\validate;


class PIDPostiveInt extends BaseValidate
{
    protected $rule = [
        'pid' => 'require|isPositiveInteger',
    ];
    protected $message  =   [
        'pid.require' => 'PID不能为空',
        'pid.isPositiveInteger'     => 'PID必须是正整数'
    ];
}
